package com.gameapplet.item.service.Impl;

import com.gameapplet.item.dao.IItemDao;

import java.util.List;

import com.gameapplet.item.model.Item;
import com.gameapplet.item.service.IItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("itemService")
public class ItemServiceImpl implements IItemService {

    @Resource(name = "itemDao")
    IItemDao itemDao;
    @Override
    public List<Item> selectByQuestionId(String questionId) {
        return itemDao.selectItemByQuestionId(questionId);
    }
}
